package cn.edu.csust.cvs.management.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * @Auther: snail
 * @Date: 2021/1/22 00:30
 * @Description: 固定时长切分请求
 */
@Data
@ApiModel("固定时长切分请求")
public class VideoFixSegmentRequest {

    @ApiModelProperty(value = "视频id列表",required = true)
    @NotEmpty(message = "视频id列表不能为空")
    private List<Integer> ids;

    @ApiModelProperty(value = "切分时长",required = true)
    @NotNull(message = "切分时长不能为空")
    private Integer duration;
}
